 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-31815201-1']);
//Note that __DEVELOPER__ will be replaced by __END_USER__ when packaging
 _gaq.push(['_setCustomVar', 1, '__DEVELOPER__', 'YES']);
 _gaq.push(['_trackPageview']);

(function(){
	var ga = document.createElement('script');
	ga.type = 'text/javascript';
	ga.async = true;
    ga.src = 'https://ssl.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0];
	s.parentNode.insertBefore(ga, s);
})();

var GA = 
{
	TrackCheckbox: (function(e)
	{
		if(!e) //Sometimes, event handlers can be directly called
			return;
		var checkbox = e.target;
		_gaq.push(['_trackEvent', 
			checkbox.id, //Event Category
			checkbox.checked ? "1" : "0" //Event Action
		]);
	}), 
};

